package com.example.springmall.mapper;

import com.example.springmall.entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GoodsMapper {
    List<Goods> selectGoodsList();
    
    Goods selectGoodsById(@Param("id") Long id);
    
    int deleteGoodsById(@Param("id") Long id);
} 